<template>
  <div>
    <!-- 轮播图区域 -->
    <mt-swipe :auto="2000">
      <mt-swipe-item><img src="../../img/8.jpg" alt /></mt-swipe-item>
      <mt-swipe-item><img src="../../img/9.jpg" alt /></mt-swipe-item>
      <mt-swipe-item><img src="../../img/4.jpg" alt /></mt-swipe-item>
      <mt-swipe-item v-for="item in lunbotuList" :key="item.url">
        <img :src="item.ing" alt :class="{'full':isfull}">
      </mt-swipe-item>
    </mt-swipe>
  </div>
</template>


<script>
export default {
    data() {
        return {
            props:['lunbotuList','isfull']
        }
    },
};
</script>


<style lang="scss" scoped>
.mint-swipe {
  height: 200px;
  .mint-swipe-item {
      text-align: center;
    &:nth-child(1) {
      background-color: aqua;
    }
    &:nth-child(2) {
      background-color: greenyellow;
    }
    &:nth-child(3) {
      background-color: red;
    }
    &:nth-child(4) {
      background-color: beige;
    }
    img {
      width: 100%;
      height: 100%;
    }
  }
}
.full{
    width: 100%;
}
</style>